home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / axterix.swf / scripts / DefineButton2_59 / BUTTONCONDACTION on(keyPress Space).as < prev    next >
Text File  |  2011-09-19  |  401b  |  26 lines

  1. on(keyPress "<Space>"){
  2.    sonMC.gotoAndPlay(4);
  3.    if(choix == 1)
  4.    {
  5.       gotoAndPlay(290);
  6.    }
  7.    if(choix == 2)
  8.    {
  9.       gotoAndPlay(270);
  10.    }
  11.    if(choix == 3)
  12.    {
  13.       gotoAndPlay(260);
  14.    }
  15.    if(choix == 4)
  16.    {
  17.       sonMC.gotoAndPlay(4);
  18.       getURL(urlScore,"_blank");
  19.    }
  20.    if(choix == 5)
  21.    {
  22.       sonMC.gotoAndPlay(4);
  23.       gotoAndPlay(324);
  24.    }
  25. }
  26.